import Vue from 'vue'
import App from './views/App.vue'
import router from './router'
import store from './store'
import { sync } from 'vuex-router-sync'

// sync the router with the vuex store.
// this registers `store.state.route`
sync(store, router)

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})

